package com.rht.gulimallware.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

/**
 * 
 * 
 * @author rht
 * @email rht@qq.com
 * @date 2024-11-07 13:58:48
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("undo_log")
public class UndoLogEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
			@TableId
			private Long id;

	/**
	 * 
	 */
			private Long branchId;

	/**
	 * 
	 */
			private String xid;

	/**
	 * 
	 */
			private String context;

	/**
	 * 
	 */
			private String rollbackInfo;

	/**
	 * 
	 */
			private Integer logStatus;

	/**
	 * 
	 */
			   @DateTimeFormat(pattern = "yyyy-MM-dd")
		private Date logCreated;

	/**
	 * 
	 */
			   @DateTimeFormat(pattern = "yyyy-MM-dd")
		private Date logModified;

	/**
	 * 
	 */
			private String ext;


}
